<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		//警告提示窗
	    alert("请充值");
	    //带有确定和取消按钮的警告提示框
	    var a=confirm("确认充值吗");
	
	    document.write("confirm输出"+a);
	
	    //带有输入框的警告提示窗	
	    var b=prompt("请输入充值金额");
	    document.write("prompt输出"+b);
    </script>
</html>